<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<link rel="stylesheet" href="__app__/admin/view/Questions/addQuestion/addQuestion.css?z={:mt_rand(1,1000)}" />
<body>

{include file="common/page/header"}
<!-- 配置文件 -->
<script type="text/javascript" src="__static__/js/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__static__/js/ueditor/ueditor.all.js"></script>
<div class="content container-fluid {if $leftBarScale eq '1'} scale {/if}">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}
        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont"></i>添加内容</h3>
            <div class="inner-section row">
                <form action="#" method="post" id="myForm"  enctype="multipart/form-data">
                    <table class="table table-striped table-hover table-bordered table-base">
                        <tr>
                            <td class="td1"><label for="title"><span class="must-tag">*</span>名称</label></td>
                            <td class="td2"><input type="text" id="title" class="form-control" name="title" placeholder="请输入名称"></td>
                            <td class="td3"></td>
                        </tr>

                        <tr>
                            <td class="td1"><label for="content">内容</label></td>
                            <td class="td2">
                                <!-- umeditor -->
                                <script type="text/plain" id="content" name="content" style="width:780px;height:200px;"></script>

                                <script type="text/javascript">
                                    //实例化编辑器
                                    var ue = UE.getEditor('content');
                                </script>
                                <!-- /umeditor -->
                            </td>
                            <td class="td3"></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>
                                <a class="btn btn-success btn-md" id='save'>提交</a>
                                <a class="btn btn-default btn-md" href="javascript:window.history.go(-1);">返回</a>
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
{include file="common/page/jsfiles"}
<!-- 页脚 -->
{include file="common/page/footer"}

<script type="text/javascript" src="__static__/js/form/jquery.form.js"></script>
<script type="text/javascript" src="__static__/js/form/jquery.validate.js"></script>
<script type="text/javascript" src="__static__/js/form/jquery.validate.extend.js"></script>
<script type="text/javascript" src="__app__/admin/view/Questions/addQuestion/addQuestion.js?z={:mt_rand(1,1000)}"></script>
</body>
</html>